Skip to content

MultiAccordion: Add background color#567

Merged
natalyjazzviolin merged 2 commits intomainfrom
nataly/update-accordion-background-default
May 9, 2025
Merged

MultiAccordion: Add background color#567
natalyjazzviolin merged 2 commits intomainfrom
nataly/update-accordion-background-default

Conversation

@natalyjazzviolin
Copy link
Contributor

Closes #558

Why

There is not enough contrast between the parent background color and multiAccordion background color:
Screenshot 2025-03-13 at 12 11 54 PM

What

This sets a default color for the multiAccordion to allow for better contrast in dark mode:
Screenshot 2025-03-13 at 12 13 26 PM

Light mode remains unchanged.

@vercel
Copy link

vercel bot commented Mar 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
click-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 8, 2025 1:28pm

@danielclickh
Copy link

Super! Thanks @natalyjazzviolin !

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves accessibility by increasing the contrast between the multiAccordion background and its parent container in dark mode.

  • Introduces a new background color property for the AccordionItem in dark mode.
  • Maintains existing styling for light mode.

@natalyjazzviolin natalyjazzviolin merged commit e79fab1 into main May 9, 2025
6 checks passed
@natalyjazzviolin natalyjazzviolin deleted the nataly/update-accordion-background-default branch May 9, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add background default

4 participants